<template>
	<view class="iconfont icon" :class="icon" :style="iconStyle"></view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		computed:{
			iconStyle(){
				return `font-size: ${this.size}px;color:${this.color}`
			}
		},
		props: {
			icon: {
				type: String,
				default: ''
			},
			size:{
				type:[Number,String],
				default:18
			},
			color:{
				type: String,
				default: '#808080'
			}
		},
	}
</script>

<style>

</style>
